package vip.bblog.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.bblog.common.utils.BaseResult;
import vip.bblog.user.entity.BlogQqUser;

/**
 * <p>
 * QQ用户基本信息表 服务类
 * </p>
 *
 * @author yuyong
 * @since 2019-04-28
 */
public interface BlogQqUserService extends IService<BlogQqUser> {

    /**
     * 根据openId禁用用户
     * @param openId
     * @return
     */
    BaseResult<Object> disableByOpenId(String openId);

    /**
     * 模糊分页查询用户
     * @param page
     * @param qqUser
     * @return
     */
    BaseResult<Object> selectPageByExample(Page<BlogQqUser> page, BlogQqUser qqUser);
}
